
<div class="bg-light lter b-b wrapper-md">
    <div class="h3 ng-binding"></div>
    <!--<a ng-if="searchSql" style="color: #ff4141;float:right">您目前处于高级搜索模式中,点击搜索可切换至普通搜索</a>-->
</div>
<div class="wrapper-md paddingbottomNone">
    <div class="panel panel-default">
        <div class="table-responsive">
            <div class="searchRow">
                <label style="margin-left:20px;">文档名称</label>  <input type="text" style="width:150px; height: 30px;" ng-model="searchKey" placeholder="请输入文档名称">
                <label >行业</label> <select  style="width:150px; height: 30px;"   ng-model="industry" ng-change="changezHy()"  ng-options="item for item in industryList" ></select>
                <label >子行业</label> <select style="width:150px; height: 30px;"   ng-model="subIndustry"   ng-change="changelbj()" ng-options="item for item in subIndustryList"></select>
                <label >零部件</label>   <select  style="width:150px; height: 30px;"   ng-model="parts" ng-options="item for item in partsList" ></select>

                    <a ng-if="searchSql" class="btn btn-default fa fa-close"  ng-click="doSearch()"  style="margin-left: 50px" >高级</a>
                    <a class="btn btn-default fa fa fa-plus"  style="float: right;margin-right: 50px" href="/Portal/StartInstance.html?WorkflowCode=knowledgeCreate" target="_blank">新增</a>
                    <a class="btn btn-default fa fa-search"  style="float: right;margin-right: 10px" href="/Portal/#/app/knowledgePlatform/kumhosunny/knowledge/advancedSearch" >高级搜索</a>
                    <a class="btn btn-default fa fa-search"  style="float: right;margin-right: 10px"  ng-click="GetDatas(1)" >搜索</a>
            </div>

            <div >
                <table class="table table-striped m-b-none dataTable no-footer JColResizer" style="text-align: center">
                    <thead>
                        <tr>
                            <th class="ng-scope sorting_disabled" style="text-align: center">序号</th>
                            <th class="ng-scope sorting_disabled" style="text-align: center">文档名称</th>
                            <th class="ng-scope sorting_disabled" style="text-align: center">行业</th>
                            <th class="ng-scope sorting_disabled" style="text-align: center">子行业</th>
                            <th class="ng-scope sorting_disabled" style="text-align: center">零部件</th>
                            <th class="ng-scope sorting_disabled" style="text-align: center">成型方式</th>
                            <th class="ng-scope sorting_disabled" style="text-align: center">牌号</th>
                            <th class="ng-scope sorting_disabled" style="text-align: center">上传时间</th>
                            <th class="ng-scope sorting_disabled" style="text-align: center">作者</th>
                            <th class="ng-scope sorting_disabled" style="text-align: center">操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr ng-repeat="data in datas" class="ng-scope">
                            <td >{{$index+1}}</td>
                            <td><a href="/Portal/InstanceSheets.html?InstanceId={{data.instanceId}}" target="_blank" title="{{data.documentName}}" style="text-decoration: underline">{{data.documentName}}</a></td>
                            <td>{{data.trade}}</td>
                            <td>{{data.product}}</td>
                            <td>{{data.spareParts}}</td>
                            <td>{{data.formingMethod}}</td>
                            <td>{{data.brandName}}</td>
                            <td>{{data.FinishTime.substr(0,10)}}</td>
                            <td>{{data.OriginatorName}}</td>
                            <td>

                                <a ng-if="currentUser.ObjectID==data.Originator" ng-click="startUpdate(data.instanceId)"   target="_blank" style="text-decoration: underline"> 修改</a>
                                <a ng-if="currentUser.ObjectID==data.Originator" ng-click="startDelete(data.instanceId)"   target="_blank" style="text-decoration: underline">作废</a>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <ul class="page" id="page"></ul>
        </div>
    </div>
</div>


